package cn.yyx.orderservice.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order")
@ApiModel(value="Order对象", description="")
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    private String cname;

    private String sex;

    private String phone;

    private String itemName;

    @ApiModelProperty(value = "项目编号  1 洗牙  2 补牙  3  纳米  4 全瓷")
    private Integer itemId;

    @ApiModelProperty(value = "销售人员的编号")
    private String saleId;

    @ApiModelProperty(value = "技术人员的编号")
    private String operatorId;

    @ApiModelProperty(value = "订单日期")
    private Date orderDate;

    @ApiModelProperty(value = "0 已经服务 1 服务中 2 交了定金 3 退款")
    private Integer orderStatus;

    private Integer delstatus;

    private BigDecimal orderPrice;

    @ApiModelProperty(value = "备注")
    private String note;

    @TableField(exist = false)
    private String sname;

    @TableField(exist = false)
    private String operatorName;

    @TableField(exist = false)
    private String cid;






}
